#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Times;
using Cephei.QL.Math.Interpolations;
namespace Cephei.QL
{
     // <summary> 
	// ! Basic term-structure functionality
	// </summary>
    [Guid ("3F11E03B-CED3-42bb-B549-40BEBBCA391E"),ComVisible(true)]
	public interface ITermStructure : Cephei.QL.Math.Interpolations.IExtrapolator
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Cephei.QL.Times.ICalendar Calendar {get;}
        
		 Cephei.QL.Times.IDayCounter DayCounter {get;}
        
		 DateTime MaxDate {get;}
        
		 Double MaxTime {get;}
        
		 DateTime ReferenceDate {get;}
        
		 UInt32 SettlementDays {get;}
        
		 Double TimeFromReference(DateTime date);
        
		 ITermStructure Update {get;}
    }

    // <summary> 
	// ! Basic term-structure functionality Factory
	// </summary>
   	[ComVisible(true)]
    public interface ITermStructure_Factory // : Collection_Factory<ITermStructure, ICell<ITermStructure>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
    }
}

